package com.example.springcloudseata.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(path = "/dept", contextId = DeptServiceFegin.BEAN_ID, qualifier = DeptServiceFegin.BEAN_ID,
        name = DeptServiceFegin.BEAN_ID)
public interface DeptServiceFegin {

    String BEAN_ID = "provider";

    @GetMapping(value = "/add")
    void add();


}
